//获取用户列表
export interface ResponseData {
    code: number,
    message: string,
    ok: boolean
}
export interface UserData {
    id: number | string,
    createTime: number | string,
    updateTime: string,
    username: string,
    password: string,
    name: string,
    phone: string,
    roleName: string
}
export interface UsersData {
    records: UserData[],
    total: number
}
export interface UserDateList extends ResponseData {
    data: UsersData
}

//用户角色
export interface UserRole {
    id: number | string,
    createTime: string,
    updateTime: string,
    roleName: string,
    remark: null
}
export interface UserRoleData extends ResponseData {
    data: {
        assignRoles: UserRole[],
        allRolesList: UserRole[],
    }
}
export interface SetUserRole {
    roleIdList: number[],
    userId: number|string
}
